package com.hengtiansoft.lfy.chart.db.bean;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

/**
 * @ClassName: InterpretRecordDB
 * @Description: 口译记录
 * @author caijiajun
 * @date 2015年10月30日 下午2:25:23
 * 
 */
@DatabaseTable(tableName = "InterpretRecordDB")
public class InterpretRecordDB {
    @DatabaseField(generatedId = true)
    int id;
    @DatabaseField
    String text; // 翻译前的文本
    @DatabaseField
    String translation; // 翻译后的文本
    @DatabaseField
    String username; // 提交者id
    @DatabaseField
    String iscollected; // 提交者id
    @DatabaseField
    String filename;
    @DatabaseField
    int serverId;

    public InterpretRecordDB() {
    }

    public InterpretRecordDB(int id, String text, String translation,
                             String username, String iscollected, String filename,
                             int serverId) {
        super();
        this.id = id;
        this.text = text;
        this.translation = translation;
        this.username = username;
        this.iscollected = iscollected;
        this.filename = filename;
        this.serverId = serverId;
    }

    public int getId() {
        return this.id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getText() {
        return this.text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getTranslation() {
        return this.translation;
    }

    public void setTranslation(String translation) {
        this.translation = translation;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getIscollected() {
        return this.iscollected;
    }

    public void setIscollected(String iscollected) {
        this.iscollected = iscollected;
    }

    public String getFilename() {
        return this.filename;
    }

    public void setFilename(String filename) {
        this.filename = filename;
    }

    public int getServerId() {
        return this.serverId;
    }

    public void setServerId(int serverId) {
        this.serverId = serverId;
    }

}
